package com.club.subject.domain.service;

import com.club.subject.common.entity.PageResult;
import com.club.subject.domain.entity.SubjectInfoBO;

import java.util.List;

/**
 * @Author: sfy
 * @Date: 2024/4/11 12:33
 * @Description:
 */
public interface SubjectInfoDomainService {


    /**
     * 新增题目
     *
     * @param subjectInfoBO
     * @return
     */
    void add(SubjectInfoBO subjectInfoBO);

    PageResult<SubjectInfoBO> getSubjectPage(SubjectInfoBO subjectInfoBO);

    SubjectInfoBO querySubjectInfo(SubjectInfoBO subjectInfoBO);

    List<SubjectInfoBO> getContributeList();
}
